package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication(scanBasePackages = "com.example.*")
@ServletComponentScan //解决跨域 https://blog.csdn.net/qq_1325508134/article/details/80952847
//@MapperScan("com.example.mapper")
public class XdDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(XdDemoApplication.class, args);
    }

}
